package org.jeecg.constant;

/**
 * TODO: redis相关的键名
 *
 * @author Zhang Hao yu
 * @date 2020/12/1 16:28
 */
public interface RedisConstant {
    /**轮播图*/
    String TOPROTATION = "phil:article:top_rotation";
    /**微信accessToken*/
    String WX_ACCESS_TOKEN = "phil:wx:access_token";
    /**
     * TODO:文章推送在redis中维护的数据前缀
     *
     * 结构：ARTICLE_PUBLISH:栏目id:map
     *
     *      map=> 用户id：文章set
     */
    String ARTICLE_PUBLISH = "phil:article_publish:";

    /**签到*/
    String USER_SIGN = "phil:wx:sign:";
    /**签到*/
    String USER_SCORE = "phil:wx:user:score";
    /**栏目信息*/
    String ALL_COLUMN_INFO = "phil:column:all_info";
    /**阅读增加积分的set缓存前缀*/
    String READING = "phil:reading:hasreading";
}